{include file="public/header" /}
{load href="__PLUGINS__bootstrap/bootstrap-table.min.css"}
{load href="__PLUGINS__bootstrap/bootstrap-table.min.js"}
    {load href="__CSS__video-js.min.css"}
    {load href="__JS__video.min.js"}
<style>
    #des, #des input {
        width: 40px;
        text-align: center;
    }

    #id {
        width: 78px;
    }

    .bs-checkbox {
        width: 36px;
        height: 40px
    }

    .fixed-table-toolbar .columns, .fixed-table-toolbar .search {
        margin-left: 0px;
        margin-top: 0px
    }

    #title span {
        float: right;
        margin-left: 3.333px;
    }

    .search {
        margin-bottom: 0px !important;
    }

    .asdlkjasd {
        background: #1ab394;
        color: #fff
    }
</style>
<body class="gray-bg">
<div class="wrapper wrapper-content {:config('adminClass.main')}">
    <div class="ibox float-e-margins">
        {include file="public/tophead"}
        {include file="public/top" /}
        <div class="ibox-content">
            {include file="public/topsection"}
            <div class="row row-lg">
                <div class="col-sm-12">
                    <div class="example">
                        <form class="form-horizontal" method="post">
                            <table data-toggle="table">
                                <thead>
                                <tr>
                                    <th data-align="center">ID</th>
                                    <th data-align="center">活动名称</th>
                                    <th data-align="center">评分用户</th>
                                    <th data-align="center">评分对象</th>
                                    <th>评分</th>
                                    <th data-align="center">评分时间</th>

                                </tr>
                                </thead>
                                <tbody id="form">
                                {volist name="data" id="v" key="k"}
                                <tr id="id{$v.id}" class="class">
                                    <td id="id">{$v.id}</td>
                                    <td>{$v.config_name}</td>
                                    <td >
                                    {php}
                                    $user = _user($v['user_id']);
                                    {/php}
                                        <a onclick="member('{$v.user_id}')" style="color:#40BCF7">{$user['name']}</a><br/>({$user['id']})({$user['sex']})<br />({$user['age']}岁)
                                    </td>
                                    <td >
                                    {php}
                                    $touser = _user($v['touser_id']);
                                    {/php}
                                        <a onclick="member('{$v.user_id}')" style="color:#40BCF7">{$touser['name']}</a><br/>({$touser['id']})({$touser['sex']})<br />({$touser['age']}岁)
                                    </td>
                                    <td>{$v.score}</td>
                                    <td>
                                        <span {php}if(date('Y-m-d')==date('Y-m-d',strtotime($v['time'])))echo 'style="color: #ed5565"';{/php}>{$v.time}</span>
                                    </td>

                                </tr>
                                {/volist}
                                </tbody>

                            </table>
                        </form>
                    </div>
                </div>
            </div>
            <hr>
            <div class="row row-lg">
                <div class="col-sm-6 pages">{$page}</div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
<script type="text/javascript">
    $(document).ready(function(){
    });
    function member(id)
    {
        layui.use('layer', function(){
            var layer = layui.layer;
            layer.open({
                title :'预览',
                area: ['100%', '100%'],
                type: 2,
                content: '{:url("member/index")}?search=id&name='+id
            });
        });
    }

</script>
 